Free online tool

Free Online Text Case Converter

Switch text between upper case, lower case, title case, sentence case and developer formats such as camelCase and snake_case.

Text Case ConverterFree online tool. Runs in your browser.
Live

You typed a whole paragraph with caps lock on. Or a headline needs Title Case before it goes live. Or a variable name has to turn from “user first name” into userFirstName. Retyping is slow and risky, so a case converter does the work in one click and lets you copy the result.

The cases explained

Case Example Where it is used
UPPERCASE READ THE LABEL Warnings, abbreviations
lowercase read the label Email addresses, tags
Sentence case Read the label. Body text, many modern headlines
Title Case Read the Label Book titles, article headings
camelCase readTheLabel JavaScript and Java variables
PascalCase ReadTheLabel Class and component names
snake_case read_the_label Python and database fields
kebab-case read-the-label Web addresses, CSS classes

How to use the converter

Paste your text in the box and press any case button. The result appears below and updates when you edit the source. Use “Copy result” to take it, or “Use result as input” when you want to chain two changes, such as clean the spaces and then switch to sentence case.

The “Try an example” button loads a sample with mixed words, a camelCase name and a snake_case name, so you can see how the programmer formats split words that have no spaces.

Title Case is harder than it looks

Capitalising every first letter is easy. Real title case has rules: short words such as “a”, “of” and “the” stay lower case unless they open the title. Style guides disagree on the details, so the tool gives you two options. “Capitalize Each Word” raises every word. “Title Case” keeps a small list of short words in lower case, which matches the most common newspaper style.

For a title such as “the lord of the rings”, the result is “The Lord of the Rings”. The first “The” stays capital because it starts the title, and the middle “of” and “the” stay small. If your publisher uses a different style guide, check it before you print.

How sentence case works

Sentence case lowers everything and then raises the first letter after each full stop, question mark, exclamation mark or line break. It cannot know which words are names, so “paris” becomes “Paris” only at the start of a sentence. After converting text that came from an all-caps source, scan for names and acronyms and fix them by hand.

For programmers: splitting words

To make camelCase or snake_case, the tool first splits text into words. It breaks at spaces and punctuation, between a lower-case letter and a capital (“myVariable” becomes “my” and “Variable”), and even inside a run of capitals (“HTTPServer” becomes “HTTP” and “Server”). It then joins them again in the style you chose, so you can move from one convention to another without retyping.

  • “hello big_world-X” in camelCase is helloBigWorldX.
  • “myVariableName” in snake_case is my_variable_name.
  • “HTTPServer error” in kebab-case is http-server-error.

Fun cases: alternating and toggle

“aLtErNaTiNg” switches between small and capital letters on each letter, skipping spaces and symbols. “tOGGLE cASE” flips every letter the other way. These are mostly used for jokes and memes, but toggle is also handy when you notice a sentence was typed with caps lock reversed.

Common mistakes

  • Expecting names to be recognised. The tool changes letters by rule and cannot know a name from an ordinary word.
  • Using all caps for long text. Capital-only text is harder to read because the words lose their shapes.
  • Mixing styles in code. A project should keep to one naming style, or the code looks sloppy.
  • Forgetting the language. Some letters change in special ways, such as the Turkish dotted and dotless “i”. The tool uses your browser’s language rules.

Practical recipes

A few jobs come up again and again. To fix text typed with caps lock on, press “Sentence case” and then check names. To make a clean file name from a heading, use kebab-case and you get lower-case words joined by hyphens, which is safe for web addresses. To prepare a spreadsheet column name, snake_case gives you names without spaces. To make a heading for a slide, Title Case is usually enough, and you can switch it back to Sentence case if your team prefers a lighter look.

When a list of items arrives in mixed styles, paste the whole list, convert it once, and copy it back. Because the tool treats line breaks as normal characters, every line keeps its own place, and you save the time of fixing each one by hand.

Privacy and limits

Conversion happens in your browser. Nothing is sent to a server, so you can paste private drafts. Very large texts are trimmed at two million characters to keep the page responsive.

If you also need counts, use the character counter or the word counter. To learn why naming rules matter in code, take the JavaScript course, and for writing tips read how to write professional emails.

Key takeaways

  • Pick the case that matches where your text will live.
  • Title case keeps small words lower case; “capitalize each word” does not.
  • Developer cases split words first, so they work from plain phrases too.
  • Always proof names and acronyms after a conversion.

Questions

What is the difference between title case and capitalize each word?

Capitalize Each Word raises the first letter of every word. Title Case follows publishing style: short words such as a, an, of and the stay lower case unless they start the title. The tool has both, so you can choose whichever your style guide uses.

Can it convert text to camelCase or snake_case?

Yes. It splits your text into words at spaces, punctuation and capital letters, then joins them in the format you pick: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE or dot.case. This works from normal sentences as well as from names already written in another style.

Will it fix names and acronyms in sentence case?

No. Case rules work on letters, not meaning, so the tool cannot tell a name or an acronym from an ordinary word. After converting, read the text and fix words such as place names, brand names and abbreviations by hand.

Is my text uploaded when I convert it?

No. All conversion runs inside your browser and nothing is sent to a server or saved. You can use it on private drafts, but remember that your browser may keep text in its form history if you use autofill features.

Does it work with accented letters and other languages?

Yes for most scripts that have upper and lower case, such as Latin, Greek and Cyrillic, because it uses your browser's built-in Unicode rules. Scripts without case, such as Arabic or Chinese, stay unchanged. Language-specific rules like the Turkish letter i may vary.